function CppBuild(){
	echo "Build target $1"
	dir=`pwd`
	if [ ! -d "$dir/bin" ]; then
		mkdir "$dir/bin"
	fi
	target=$dir/bin/$(basename $1 .cpp)
	g++ "$dir/$1" -o $target
	if [ -e "$target" ]; then
		echo "Built $target, please run RunBuild"
		CppBuildTarget=$target
	fi

}
